home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 February / PCWorld_2000-02_cd.bin / Software / Vyzkuste / xsetup / _SETUP.2 / Group3 / XQ Ver Disp 2.xpl < prev    next >
Text File  |  1999-09-03  |  2KB  |  64 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="1"
  3. "COUNT"="5"
  4. "UIPATH"="System\Information"
  5. "NAME"="Windows NT/2K System Info"
  6. "VERSION"="1.23"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Windows Version"
  9. "TEXT 2"="Build Version"
  10. "TEXT 3"="Plus!/IE Version"
  11. "TEXT 4"="Product ID"
  12. "TEXT 5"="Service Pack"
  13. "DESCRIPTION 1"="This plug-in displays some of the internal Windows NT/Windows 2000 information."
  14. "DESCRIPTION 2"="You can't change anything!!!"
  15. "AUTHOR"="Xteq Systems"
  16. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  17. "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
  18. "COMMENT 2"="Thanks to CptSiskoX for his help!"
  19.  
  20.  
  21. sP="HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\"
  22. sV1="CurrentVersion"
  23. sV2="CurrentBuildNumber"
  24. sV3="Plus! VersionNumber"
  25. sV4="ProductId"
  26. sV5="CSDVersion"
  27.  
  28. Sub Plugin_Initialize 
  29.  if GetWinVer=2 or GetWinVer=4 then
  30.     s=RegReadValue(sP & sV1)
  31.     Call SetUIElement(1,s)
  32.  
  33.     s=RegReadValue(sP & sV2)
  34.     Call SetUIElement(2,s)
  35.  
  36.     s=RegReadValue(sP & sV3)
  37.     Call SetUIElement(3,s)
  38.  
  39.     s=RegReadValue(sP & sV4)
  40.     Call SetUIElement(4,s)
  41.  
  42.     s=RegReadValue(sP & sV5)
  43.     Call SetUIElement(5,s)
  44.  else
  45.     Call SetUIElement(1,"N/A")
  46.     Call SetUIElement(2,"N/A")
  47.     Call SetUIElement(3,"N/A")
  48.     Call SetUIElement(4,"N/A")
  49.     Call SetUIElement(5,"N/A")
  50.  end if
  51.  
  52.  
  53.  Call Disable 'user can't change anything!
  54. End Sub
  55.  
  56. Sub Plugin_CheckData(ElementIndex)
  57. End Sub
  58.  
  59. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  60. End Sub
  61.  
  62. Sub Plugin_Terminate 
  63. End Sub
  64.